#ifndef _PBVP_MATCHCONTROL_H
#define _PBVP_MATCHCONTROL_H

#include <QDialog>
#include "../../datamanager/fileextensionmanager.h"
#include "ui_matchcontrol.h"

namespace PBVP {
	class MatchControl : public QDialog
	{
		Q_OBJECT

	public:
		///
		MatchControl(FileExtensionManager *pFileExtManager, QWidget *parent = 0);

		///
		~MatchControl();

		/// 
		void getWeights(double wts[4]);

		/// 
		QString getVolFileName1() {
			return ui.volFileName1->text();
		}

		///
		QString getVolFileName2() {
			return ui.volFileName2->text();
		}

		///
		QString getDCTFileName1() {
			return ui.dctFileName1->text();
		}

		///
		QString getDCTFileName2() {
			return ui.dctFileName2->text();
		}
	private slots:
		/// 
		void updateDCTPath1(const QString& path);

		/// 
		void updateDCTPath2(const QString& path);

		/// 
		void setVolumeFile1();

		/// 
		void setVolumeFile2();

		/// 
		void setDCTFile1();

		/// 
		void setDCTFile2();

	private:
		Ui::MatchControlClass ui;

		FileExtensionManager *m_pFileExtManager;
	};
}
#endif // MATCHCONTROL_H
